package com.raodjava.demo5;

import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
public class Student2 extends Person1 {

    private Integer studentId;

    public Student2(String name, Integer studentId) {
        super(name);
        this.studentId = studentId;
    }
}
